package com.gf.dao;

import com.gf.bean.GetorderInfo;
import com.gf.bean.Orderr;
import com.gf.bean.OrderrInfo;

import java.util.List;

public interface OrderrMapper {
    int insert(Orderr record);

    int updateorderbysendid(Orderr order);

    List<Orderr> selectAll();

    int selectorderbuyid(String order_id);

    List<OrderrInfo> selectnosendidorder();
    List<Orderr> selectmyAllorders(int user_id);
    List<GetorderInfo> selectmysendorders(int user_id);


    int setorderendtime(Orderr order);
    List<GetorderInfo> selectmybuyorders(int user_id);

    int deleteorderbyorderid(Orderr order);

    int selectallordercount();



}